import request from '../utils/request.js'


export default{
    userList(){
        return request({
            url:'http://localhost:8888/vallis/user/getAllUser',
            method:'get'
        })

    },
    saveUser(user){
        return request({
                url:'http://localhost:8888/vallis/user/saveUser',
                method:'post',
                data:user
        })
    }
}